/**
 * 公共API接口
 */
import axios from 'axios';

//import {ROOT_HOST_NAME} from './../../../config'
const host = (process.env.NODE_ENV === 'development' ? '/pc-api/' : '/');
export const requestComminAPI = params => { return axios.post(`${host}login`, params).then(res => res.data); };